package model;

import java.util.List;

public class User extends Entity {
	
	private Account account;
	private List<Group> myGroups;
	private String details;
	
	public User(String name, String description){
		super(name, description);
	}
	
	public User() {
		account = new Account();
	}

	public Account getAccount() {
		return account;
	}

	public void setAccount(Account account) {
		this.account = account;
	}

	public List<Group> getMyGroups() {
		return myGroups;
	}

	public void setMyGroups(List<Group> myGroups) {
		this.myGroups = myGroups;
	}

	public String getDetails() {
		return details;
	}

	public void setDetails(String details) {
		this.details = details;
	}
	
	
}
